<script>
export default {
  name: 'RulePage',
  data() {
    return {
      detail: ''
    };
  },
  async fetch() {
    await this.getRegisterPrecautions();
  },
  methods: {
    async getRegisterPrecautions() {
      try {
        const res = await this.$api.post('/home/registerPrecautions', {}, { getAll: true });
        this.detail = res.data.content;
      } catch (e) {
        console.log(e);
      }
    }
  }
};
</script>

<template>
  <div v-html="detail" />
</template>

<style scoped lang="scss"></style>
